package com.bridgeintelligent.tag.customer.service;

import com.bridgeintelligent.tag.customer.entity.CustomersPage;
import com.bridgeintelligent.tag.customer.model.IssueModel;
import com.bridgeintelligent.tag.customer.model.IssueQueryModel;
import com.bridgeintelligent.tag.customer.pojo.Customers;
import com.bridgeintelligent.tag.customer.vo.IssueVO;

import java.util.List;

/**
 * @description
 * @author: grp 2021-02-23 14:16
 **/
public interface IIssueService {
    int countById(String id);

    int countByName(String name);

    void add(IssueModel model);

    int countByNameAndNotId(String id, String name);

    void put(IssueModel model);

    CustomersPage<IssueVO> list(IssueQueryModel model);

    void del(String id);

    IssueVO getDetail(String id);

    List<Customers> findCustomers();

    void changState(IssueModel model);
}
